export default class chainInstance {
  constructor(hier) {
    this.hier = hier
  }
  static create(hier={}) {
    this.set(hier)
    return new chainInstance(hier)
  }
  set(hier) {
    this.hier = hier
  }
  static tpl() {
    return {
      type: 'chain',
      content: [
        // item
      ]
    }
  }
  static itemTpl() {
    return {
      nodeId: null,
      prev: [], //前驱节点
      name: "",
      properties: [],
      nodeType: '',
      values: {},
      link:{},
    }
  }
}